/*
 *   Copyright Spectra, Inc. All Rights Reserved.
 */
package spectra.ee.web.km.model;

import java.util.List;

/**
 * 변경히스토리(t_change_history) 테이블 모델 클래스.
 *
 * @author kmhan
 */
public class ChangeHistory
{
    /** 지식ID. */
    private String kbId;

    /** 프로세스시퀀스. */
    private int processSeq;

    /** 히스토리시퀀스. */
    private int historySeq;

    /** 서비스타입. (SVKNW: 상담지식, SVFAQ: FAQ, SVQNA: QnA, SVCHT: 채팅) */
    private String serviceType;

    /** 제목. */
    private String title;

    /** 내용히스토리시퀀스. */
    private int contentsHistorySeq;

    /** 버전정보. */
    private String versionInfo;
    
    /** 버정정보 요약. */
    private String versionComment;
    
    /** 등록자ID. */
    private String createdBy;
    
    /** 등록자이름 */
    private String createdName;

    /** 등록일자. */
    private String createdDate;
    /** 내용 */
    private String contents;
    /** 첨부파일 */
    private List attachList;
    /** 노드아이디 */
    private String nodeId;
    /** 노드 경로 */
    private String nodePath;
    
    private String orderBy;
    
    /**
     * 생성자.
     */
    public ChangeHistory()
    {
    }
    
    /**
     * 생성자.
     *
     * @param kbId 지식ID.
     * @param processSeq 프로세스시퀀스.
     * @param historySeq 히스토리시퀀스
     * @param serviceType 서비스타입.
     * @param title 제목.
     * @param contentsHistorySeq 내용히스토리시퀀스
     * @param createdBy 등록자ID.
     * @param createdDate 등록일자.
     */
    public ChangeHistory(String kbId, int processSeq, int historySeq, String serviceType, String title, int contentsHistorySeq, String createdBy, String createdDate)
    {
        this.kbId = kbId;
        this.processSeq = processSeq;
        this.historySeq = historySeq;
        this.serviceType = serviceType;
        this.title = title;
        this.contentsHistorySeq = contentsHistorySeq;
        this.createdBy = createdBy;
        this.createdDate = createdDate;
    }

    /**
     * 생성자.
     *
     * @param kbId 지식ID.
     * @param processSeq 프로세스시퀀스.
     * @param historySeq 히스토리시퀀스
     * @param serviceType 서비스타입.
     * @param title 제목.
     * @param versionInfo 버전정보.
     * @param versionComment 버정정보 요약.
     * @param contentsHistorySeq 내용히스토리시퀀스
     * @param createdBy 등록자ID.
     * @param createdDate 등록일자.
     */
    public ChangeHistory(String kbId, int processSeq, int historySeq, String serviceType, String title, int contentsHistorySeq, String versionInfo, String versionComment, String createdBy, String createdDate)
    {
        this.kbId = kbId;
        this.processSeq = processSeq;
        this.historySeq = historySeq;
        this.serviceType = serviceType;
        this.title = title;
        this.contentsHistorySeq = contentsHistorySeq;
        this.versionInfo = versionInfo;
        this.versionComment = versionComment;
        this.createdBy = createdBy;
        this.createdDate = createdDate;
    }
    
    

    /**
     * 지식ID getter.
     *
     * @return 지식ID.
     */
    public String getKbId()
    {
        return this.kbId;
    }

    /**
     * 지식ID setter.
     *
     * @param kbId 지식ID.
     */
    public void setKbId(String kbId)
    {
        this.kbId = kbId;
    }

    /**
     * 프로세스시퀀스 getter.
     *
     * @return 프로세스시퀀스.
     */
    public int getProcessSeq()
    {
        return this.processSeq;
    }

    /**
     * 프로세스시퀀스 setter.
     *
     * @param processSeq 프로세스시퀀스.
     */
    public void setProcessSeq(int processSeq)
    {
        this.processSeq = processSeq;
    }

    /**
     * 히스토리시퀀스 getter.
     *
     * @return 히스토리시퀀스.
     */
    public int getHistorySeq()
    {
        return this.historySeq;
    }

    /**
     * 히스토리시퀀스 setter.
     *
     * @param historySeq 히스토리시퀀스
     */
    public void setHistorySeq(int historySeq)
    {
        this.historySeq = historySeq;
    }

    /**
     * 서비스타입 getter.
     *
     * @return 서비스타입.
     */
    public String getServiceType()
    {
        return this.serviceType;
    }

    /**
     * 서비스타입 setter.
     *
     * @param serviceType 서비스타입.
     */
    public void setServiceType(String serviceType)
    {
        this.serviceType = serviceType;
    }

    /**
     * 제목 getter.
     *
     * @return 제목.
     */
    public String getTitle()
    {
        return this.title;
    }

    /**
     * 제목 setter.
     *
     * @param title 제목.
     */
    public void setTitle(String title)
    {
        this.title = title;
    }

    /**
     * v getter.
     *
     * @return 내용히스토리시퀀스.
     */
    public int getContentsHistorySeq()
    {
        return this.contentsHistorySeq;
    }

    /**
     * 내용히스토리시퀀스 setter.
     *
     * @param contentsHistorySeq 내용히스토리시퀀스
     */
    public void setContentsHistorySeq(int contentsHistorySeq)
    {
        this.contentsHistorySeq = contentsHistorySeq;
    }

    /**
     * 등록자ID getter.
     *
     * @return 등록자ID.
     */
    public String getCreatedBy()
    {
        return this.createdBy;
    }

    /**
     * 등록자ID setter.
     *
     * @param createdBy 등록자ID.
     */
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    
    public String getCreatedName() 
    {
		return createdName;
	}

	public void setCreatedName(String createdName) 
	{
		this.createdName = createdName;
	}

	/**
     * 등록일자 getter.
     *
     * @return 등록일자.
     */
    public String getCreatedDate()
    {
        return this.createdDate;
    }

    /**
     * 등록일자 setter.
     *
     * @param createdDate 등록일자.
     */
    public void setCreatedDate(String createdDate)
    {
        this.createdDate = createdDate;
    }

    public String getVersionInfo() {
        return versionInfo;
    }

    public void setVersionInfo(String versionInfo) {
        this.versionInfo = versionInfo;
    }

    public String getVersionComment() 
    {
        return versionComment;
    }

    public void setVersionComment(String vesionComment) 
    {
        this.versionComment = vesionComment;
    }

	public String getContents() 
	{
		return contents;
	}

	public void setContents(String contents) 
	{
		this.contents = contents;
	}

	public List getAttachList() 
	{
		return attachList;
	}

	public void setAttachList(List attachList) 
	{
		this.attachList = attachList;
	}

	public String getNodeId() 
	{
		return nodeId;
	}

	public void setNodeId(String nodeId) 
	{
		this.nodeId = nodeId;
	}

	public String getNodePath() 
	{
		return nodePath;
	}

	public void setNodePath(String nodePath) 
	{
		this.nodePath = nodePath;
	}

	public String getOrderBy() 
	{
		return orderBy;
	}

	public void setOrderBy(String orderBy) 
	{
		this.orderBy = orderBy;
	}
	
}
